package com.web.rate.mapper;


import java.util.List;

import com.web.rate.entity.Rate;
import org.apache.ibatis.annotations.Param;

public interface RateMapper {

    List<Rate> getRates(Rate r);

    Rate getRate(@Param("currency") String currency, @Param("buySell") String buySell);

    Integer updateRate(List<Rate> rates);
}
